package com.member.shop.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import com.member.shop.domain.SysBizMarketPageCategory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * 营销页面定义对象 sys_biz_market_page
 *
 * @author lixinchen
 * @date 2025-02-14
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SysBizMarketPageDto extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 唯一id
     */
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 封面
     */
    @Excel(name = "封面")
    private String cover;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;


    /**
     * 顶部图片
     */
    @Excel(name = "顶部图片")
    private String topPic;


    /**
     * 背景类型(1.图片 2.颜色)
     */
    @Excel(name = "背景类型(1.图片 2.颜色)")
    private Long bgType;


    /**
     * 背景图片
     */
    @Excel(name = "背景图片")
    private String bgPic;


    /**
     * 轮播切换选中时的颜色
     */
    @Excel(name = "轮播切换选中时的颜色")
    private String carouselColor;


    /**
     * 购物车按钮颜色
     */
    @Excel(name = "购物车按钮颜色")
    private String cartColor;


    /**
     * 优惠券关联id(逗号隔开)
     */
    @Excel(name = "优惠券关联id(逗号隔开)")
    private String categoryCouponId;


    /**
     * 商品关联id(逗号隔开)
     */
    @Excel(name = "商品关联id(逗号隔开)")
    private String categoryGoodsId;


    /**
     * 是否上架(0:上架，1:下架)
     */
    @Excel(name = "是否上架(0:上架，1:下架)")
    private Integer displayed;


    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long orderNum;


    /**
     * 是否删除(0：未删除，1：删除)
     */
    @Excel(name = "是否删除(0：未删除，1：删除)")
    private Integer deleted;




    private List<SysBizMarketPageCategory> categoryCouponList;



    private List<SysBizMarketPageCategory> categoryGoodsList;
}
